<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
	<head>
		<title><s:text name="page.title.prefix" /> <s:property value="#pageTitle" />
		</title>
		<jsp:include page="/include/scripts.jsp" />
		<link rel="stylesheet" href="<%=request.getContextPath()%>/css/listorders.css" type="text/css" />
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/order_action.js"></script>
	</head>
	<body>
		<script type="text/javascript">
		var displayDetails = function(objId) {
			var obj_tr =  document.getElementById(objId);
			if(obj_tr.style.display == 'block') {
				obj_tr.style.display = 'none';
			}
			else {
				obj_tr.style.display='block';
			}
		}

		var cancelOrder = function(orderId) {
		    location.href="<%=request.getContextPath()%>/order/cancelOrder.do?id=" + orderId + "&random=" + Math.random();
		    }
	</script>

		<jsp:include page="/manage/order/include/manage_order_list_table.jsp"></jsp:include>
	</body>
</html>